﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HomeDMSObjectModel
{
    public class Tag
    {

        private IList<Document> _docs = new List<Document>();

        public virtual string Name { get; set; }
        public virtual int Id { get; set; }
        
        public virtual IList<Document> Documents
        {
            get { return _docs; }
            set { _docs = value; }
        }

        public override string ToString()
        {
            return Name;
        }
    
    }
}
